package com.ryl.yomall.model.product;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ryl.yomall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 我的世界
 */
@Data
@ApiModel(description = "商品二级分类")
@TableName("base_category2")
public class BaseCategory2 extends BaseEntity {
   
   private static final long serialVersionUID = 1L;
   
   @ApiModelProperty(value = "二级分类名称")
   @TableField("name")
   private String name;

   @ApiModelProperty(value = "一级分类编号")
   @TableField("category1_id")
   private Long category1Id;

}
